AIOSEO\Plugin\Common\Utils\Database D

Total Complexity 251
Dependencies 2
Dependents 3
Total lines 1,787
Lines of code 737
Logical lines of code 442
Comment lines 724
Methods 63
Properties 26

Methods 63

Method Rating Maintainability Complexity Lines of code
__toString()
D
27
47 121
reset()
B
45 17 39
escape()
A
52 12 22
run()
A
47 10 36
where()
A
49 10 28
whereIn()
A
51 9 24
whereBetween()
A
51 9 24
getDatabaseInfo()
A
45 7 44
whereNotIn()
A
51 8 24
whereOr()
A
52 8 21
execute()
S
53 7 24
escapeColNames()
S
57 7 16
prepareSet()
S
55 5 18
models()
S
58 5 15
indexExists()
S
58 5 15
orderBy()
S
59 5 14
prepArgs()
S
64 5 9
tableExists()
S
59 4 14
getCacheTableName()
S
63 4 10
getColumns()
S
61 3 12
model()
S
67 3 8
count()
S
62 3 10
groupBy()
S
66 3 8
getQueryProperty()
S
64 3 10
limit()
S
68 3 7
select()
S
65 3 8
getTableSize()
S
61 2 13
output()
S
70 2 7
countDistinct()
S
67 2 7
join()
S
74 2 4
whereRaw()
S
68 2 7
bustCache()
S
69 2 7
getInstalledTables()
S
73 2 4
columnExists()
S
68 2 7
start()
S
70 2 6
commit()
S
81 1 3
rollback()
S
81 1 3
insert()
S
79 1 3
leftJoin()
S
78 1 3
getEscapeOptions()
S
82 1 3
setEscapeOptions()
S
81 1 3
query()
S
81 1 3
nullSet()
S
80 1 3
__clone()
S
77 1 4
noConflict()
S
81 1 3
startTransaction()
S
81 1 3
insertId()
S
82 1 3
numRows()
S
82 1 3
rowsAffected()
S
82 1 3
lastError()
S
82 1 3
insertIgnore()
S
75 1 4
update()
S
79 1 3
result()
S
82 1 3
replace()
S
79 1 3
truncate()
S
79 1 3
resetCache()
S
77 1 4
onDuplicate()
S
75 1 4
set()
S
75 1 4
delete()
S
79 1 3
init()
S
71 1 6
orderDirection()
S
77 1 4
union()
S
75 1 4
__construct()
S
82 1 3